import { defineStore } from "pinia";

export const terminal = defineStore({
    id: 'terminalStore',
    state() {
        return {
            flag: '',
            clientWidth: 9999
        }
    },
    actions: {
        setTerminal(flag: string) {
            this.flag = flag
        },
        setClientWidth(num: number) {
            this.clientWidth = num
        }
    }
})